package com.liang.demo.dto;

import java.util.List;

/**
 * @author 陈琪亮
 * @version 1.0
 * @date 2021/3/19 17:03
 */
public class MenuDto {

    //菜单编号
    private Long id;

    //菜单名称
    private String title;

    //层级
    private Integer level;

    //前端名称
    private String name;

    //图标
    private String icon;

    //子菜单
    private List<MenuDto> children;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<MenuDto> getChildren() {
        return children;
    }

    public void setChildren(List<MenuDto> children) {
        this.children = children;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }
}
